import request from '@/utils/request';
import {clientUrl} from "@/common/service-prefix";

export interface eventParams {
  date: string
}

export async function getEventByDate(param: eventParams) {
  return request(`${clientUrl}/event/getByDate`, {
    method: 'GET',
    params: param,
  });
}
